ria.buildFormTemplate = function(spec) {
    if(spec.extra == undefined || spec.extra._formId == undefined) {
        throw "Extra property _formId must be declared on the spec.extra to use buildFormTemplate";
    }
    var that = ria.buildTplItem(spec);
    return that;
}